package chapter7;

public class Cat {
    String name;
    int age;
    String color;

    public Cat(){

    }

    public Cat(String name,int age,String color){
        this.name=name;
        this.age=age;
        this.color=color;

    }

    public void showCat(){
        System.out.println("这只毛的名字为"+name+"年龄"+age+"颜色"+color);
    }
}
